package swingExtended.swingWorkers;

import java.util.List;

/**
 *
 * @author Shimu
 * @date 29-Sep-2013
 */
public abstract class GenericUpdateWorker<T1, T2 extends ProgressUpdate> extends SwingWorkerX<T1, T2>{
    
    @Override
    protected final void process(List<T2> chunks) {
        super.process(chunks);
        for (ProgressUpdate update : chunks) {
            update.update();
        }
    }
}
